home *** CD-ROM | disk | FTP | other *** search
/ MacTech 1 to 12 / MacTech-vol-1-12.toast / Source / MacTech® Magazine / Volume 13 - 1997 (partial) / 13.02 Feb 97 / SerialKiller SN Generator / Tester.h < prev    next >
Encoding:
Text File  |  1996-09-08  |  599 b   |  25 lines  |  [TEXT/CWIE]

  1. //////////////////////////////////////////////
  2. //                                            //
  3. //    Main.h                                    //
  4. //                                            //
  5. //    Copyright 1996 1 A.M. Productions        //
  6. //    Aug 8,1996                                //
  7. //                                            //
  8. //////////////////////////////////////////////
  9.  
  10. #ifndef __MAIN__
  11. #define __MAIN__
  12.  
  13. #define kCancelButton 2
  14. #define kOKButton 1
  15. #define kESC 0x35
  16.  
  17. #define KeyMapLoMem            ((unsigned char *)0x174)
  18. #define ThisKey(key)        ((KeyMapLoMem[key >> 3] >> (key & 7)) & 1)
  19.  
  20. void main();
  21. void GetNumber();
  22. pascal Boolean StdFilter(DialogPtr theDialog, EventRecord *theEvent, short *itemHit);
  23. Boolean CheckValue(Str255 valStr);
  24.  
  25. #endif